/*
 * // +-------------------------------------------------------------------------------------------------
 * // |                 有你就好 [ 有节骨乃坚，无心品自端 ]     <http://encoding.wang>
 * // +-------------------------------------------------------------------------------------------------
 * // |                             独在异乡为异客         每逢佳节倍思亲
 * // +-------------------------------------------------------------------------------------------------
 * // |                 联系:   <707069100@qq.com>      <http://weibo.com/513778937>
 * // +-------------------------------------------------------------------------------------------------
 */

// -----------------------------------------------------------------------------------------------------
// +----------------------------------------------------------------------------------------------------
// |                   ErYang出品 属于小极品          共同学习    共同进步
// +----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------


package wang.encoding.mroot.service.event


import org.springframework.context.ApplicationEvent
import wang.encoding.mroot.model.entity.system.RequestLog
import java.io.Serializable


/**
 * 请求日志事件
 *
 * @author ErYang
 */
class RequestLogAopEvent : ApplicationEvent, Serializable {


    companion object {
        private const val serialVersionUID = 6812553025508686209L
    }

    // -------------------------------------------------------------------------------------------------

    var requestLog: RequestLog? = null

    /**
     * 实例化
     *
     * @param source Object
     */
    constructor(source: Any) : super(source)

    // -------------------------------------------------------------------------------------------------

    /**
     * 实例化
     *
     * @param requestLog 请求日志
     */
    constructor(source: Any, requestLog: RequestLog) : super(source) {
        this.requestLog = requestLog
    }

    // -------------------------------------------------------------------------------------------------

    override fun toString(): String {
        return "RequestLogAopEvent(requestLog=$requestLog)"
    }

    // -------------------------------------------------------------------------------------------------

}

// -----------------------------------------------------------------------------------------------------

// End RequestLogAopEvent class

/* End of file RequestLogAopEvent.kt */
/* Location: ./src/main/kotlin/wang/encoding/mroot/service/event/RequestLogAopEvent.kt */

// -----------------------------------------------------------------------------------------------------
// +----------------------------------------------------------------------------------------------------
// |                           ErYang出品 属于小极品  O(∩_∩)O~~   共同学习    共同进步
// +----------------------------------------------------------------------------------------------------
// -----------------------------------------------------------------------------------------------------

// -----------------------------------------------------------------------------------------------------
